package com.StarStudio.Service;

import com.ruoyi.common.core.Entity.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
@FeignClient(value = "Goods")
public interface GoodsService {

    @RequestMapping("/ByGoodsItemId/{id}")
    Goods findByGoods_Item_Id(@PathVariable(value = "id") long id);

}
